package cn.fx.server.impl;

import cn.fx.domain.Product;
import cn.fx.mapper.ProductMapper;
import cn.fx.server.IProductServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServerImpl implements IProductServer {

    @Autowired
    private ProductMapper productMapper;

    @Override
    public void add(Product product) {
        productMapper.add(product);
    }
}
